WP_Defender\Component\Password_Protection A

Total Complexity 54
Dependencies 7
Dependents 3
Total lines 410
Lines of code 199
Logical lines of code 101
Comment lines 161
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
is_enabled_by_user_role()
A
49 8 32
check_pwned_password()
S
51 4 27
hosting_compatibility()
S
57 4 15
do_weak_reset()
S
61 4 12
do_force_reset()
S
61 4 12
is_weak_password()
S
67 4 7
remove_extra_cookies()
S
60 3 13
get_submitted_password()
S
62 3 11
get_reset_password_redirect_url()
S
59 2 16
is_force_reset()
S
68 3 7
reset_password_redirect()
S
65 3 9
password_last_changed()
S
64 3 10
check_expired_password()
S
78 2 3
remove_cookie_notice()
S
69 2 6
set_cookie_notice()
S
72 2 5
handle_password_updated()
S
79 1 3
trigger_redirect()
S
69 1 6
__construct()
S
73 1 5